const mongoose = require("mongoose");
const schema = new mongoose.Schema({
  name: { type: String },
  time: { type: String },
  icon: { type: String },
  parent: { type: mongoose.SchemaTypes.ObjectId, ref: "Good" }
})

module.exports = mongoose.model("Good", schema)